export const APPROVE_STATUS_TEXT = {
  "0": "未提交",
  "1": "已提交",
  "2": "待审批",
  "3": "已审批",
  "4": "审批通过",
  "5": "驳回"
};

export const APPROVE_STATUS = [
  {
    key: "0",
    value: "未提交"
  },
  {
    key: "1",
    value: "已提交"
  },
  {
    key: "2",
    value: "待审批"
  },
  {
    key: "3",
    value: "已审批"
  },
  {
    key: "4",
    value: "审批通过"
  },
  {
    key: "5",
    value: "驳回"
  }
];

export const PROCESS_STATUS_TEXT = {
  "0": "待进行",
  "1": "进行中",
  "2": "延期"
};

export const PROCESS_STATUS = [
  {
    key: "0",
    value: "待进行"
  },
  {
    key: "1",
    value: "进行中"
  },
  {
    key: "2",
    value: "延期"
  }
];
export const MODIFY_TYPE_TEXT = {
  "0": "立项变更",
  "1": "合同变更",
  "2": "进度变更",
  "3": "质检变更",
  "4": "安全变更",
  "5": "成本变更",
  "6": "其他"
};
export const MODIFY_TYPE = [
  {
    key: "0",
    value: "立项变更"
  },
  {
    key: "1",
    value: "合同变更"
  },
  {
    key: "2",
    value: "进度变更"
  },
  {
    key: "3",
    value: "质检变更"
  },
  {
    key: "4",
    value: "安全变更"
  },
  {
    key: "5",
    value: "成本变更"
  },
  {
    key: "6",
    value: "其他"
  }
];

export const DETECTION_TYPE_TEXT = {
  "0": "消防安全",
  "1": "漏水",
  "2": "塌陷",
  "3": "短路"
};

export const DETECTION_TYPE = [
  {
    key: "0",
    value: "消防安全"
  },
  {
    key: "1",
    value: "漏水"
  },
  {
    key: "2",
    value: "塌陷"
  },
  {
    key: "3",
    value: "短路"
  }
];

export const MODIFY_DATA = [
  {
    label: "数据中心园区建设工程项目",
    id: 1,
    children: [
      {
        label: "机房主体建筑工程项目",
        id: 11,
        children: [
          {
            label: "机房基础工程",
            id: 111,
            progress: 43
          },
          {
            label: "机房墙体工程",
            id: 112,
            progress: 27
          },
          {
            label: "机房屋面工程",
            id: 113,
            progress: 12
          }
        ]
      },
      {
        label: "办公楼建设工程项目",
        id: 12,
        children: [
          {
            label: "办公楼土、石方工程",
            id: 121,
            progress: 26
          },
          {
            label: "办公楼钢筋混凝土工程",
            id: 122,
            progress: 26
          },
          {
            label: "办公楼装饰工程",
            id: 122,
            progress: 26
          }
        ]
      }
    ]
  }
];

export const PROJECT_DATA = [
  {
    label: "华润置地华南大区",
    id: 1,
    children: [
      {
        label: "深圳公司",
        id: 11,
        children: [
          {
            label: "数据中心园区建设工程项目",
            id: 111,
            progress: 43
          },
          {
            label: "小径湾礼堂二期工程项目",
            id: 112,
            progress: 27
          },
          {
            label: "深圳碧海星辰花园建设工程项目",
            id: 113,
            progress: 12
          }
        ]
      },
      {
        label: "广州公司",
        id: 12,
        children: [
          {
            label: "广州海珠漾畔工程项目",
            id: 121,
            progress: 26
          }
        ]
      },
      {
        label: "珠海公司",
        id: 13,
        children: [
          {
            label: "珠海长隆海洋王国游乐场二期工程项目",
            id: 131,
            progress: 80
          }
        ]
      },
      {
        label: "佛山公司",
        id: 14,
        children: [
          {
            label: "佛山广佛广场建设工程项目",
            id: 141,
            progress: 38
          }
        ]
      },
      {
        label: "东莞公司",
        id: 15,
        children: [
          {
            label: "东莞遥水畔大厦工程项目",
            id: 151,
            progress: 66
          }
        ]
      }
    ]
  }
];

export const PROJECT_LIST = [
  {
    label: "华润置地华南大区",
    id: 1,
    children: [
      {
        label: "深圳公司",
        id: 11,
        children: [
          {
            label: "数据中心园区建设工程项目 43%",
            id: 111,
            progress: 43
          },
          {
            label: "小径湾礼堂二期工程项目 27%",
            id: 112,
            progress: 27
          },
          {
            label: "深圳碧海星辰花园建设工程项目 12%",
            id: 113,
            progress: 12
          }
        ]
      },
      {
        label: "广州公司",
        id: 12,
        children: [
          {
            label: "广州海珠漾畔工程项目 26%",
            id: 121,
            progress: 26
          }
        ]
      },
      {
        label: "珠海公司",
        id: 13,
        children: [
          {
            label: "珠海长隆海洋王国游乐场二期工程项目 80%",
            id: 131,
            progress: 80
          }
        ]
      },
      {
        label: "佛山公司",
        id: 14,
        children: [
          {
            label: "佛山广佛广场建设工程项目 38%",
            id: 141,
            progress: 38
          }
        ]
      },
      {
        label: "东莞公司",
        id: 15,
        children: [
          {
            label: "东莞遥水畔大厦工程项目 66%",
            id: 151,
            progress: 66
          }
        ]
      }
    ]
  }
];

export const GROUP_DATA = [
  {
    label: "单位 1",
    id: 1,
    children: [
      {
        label: "部门 1-1",
        id: 11,
        children: [
          {
            label: "小组 1-1-1",
            id: 111,
            children: [
              {
                label: "员工1",
                id: 1111
              },
              {
                label: "员工2",
                id: 1112
              },
              {
                label: "员工3",
                id: 1113
              }
            ]
          }
        ]
      }
    ]
  }
];

export const AREA_LIST = [
  {
    name: "华东",
    id: "12"
  },
  {
    name: "华南",
    id: "13"
  },
  {
    name: "华北",
    id: "10"
  },
  {
    name: "东北",
    id: "11"
  },
  {
    name: "华中",
    id: "14"
  },
  {
    name: "西南",
    id: "15"
  },
  {
    name: "西北",
    id: "16"
  }
];
